<?php
header("Content-Type: text/html; charset=Shift_JIS");
ob_start();
?>
<div style="position:relative">
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/2.1) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html>
<head>
<meta name="verify-v1" content="3BSb6IKsJdUbXn+Dl5ECaekOXudUHNahHbjsvwGNfF8=" >
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<title>検索結果</title>
</head>

<body>
<?php include("class/resultClass.php");?>
<?php $result = new Result;?> 
<?php $result->mytask();?>  
<a name="search"></a> 
<hr color="#3399FF">
<a href="/top_page.php">トップ</a>><?php echo $result->top_link;?><?php echo $result->videoName; ?>	
<hr color="#3399FF">	
<table width="100%"><tr><td>
動画検索
<form method="post" action="result_list.php">
<input type="text" name="keyword" size="15" value="">
<input type="submit" value="検索">
</form>	
</td></tr></table>
<?php echo Common::getRandomAd();?>
<?php echo $result->videoHtml;?>
<br />
<br clear="all">
<hr/><a href=<?php echo "mailto:xxxdocomo.ne.jp?subject=".$result->videoName;?>&body=<?php echo str_replace("&","%26","http://38.99.91.57".$_SERVER["REQUEST_URI"]);?>>この動画を友達に教える</a>
<br/><a href="my_status.php?UID=NULLGWDOCOMO">あなたのステータス</a>	
<hr color="#3399FF">		

<table width="100%">
  <tr>
    <td> 動画検索
<form method="post" action="result_list.php">
<input type="text" name="keyword" size="15" value="">
<input type="submit" value="検索">
</form>	
</td>
  </tr>
</table>
<hr color="#3399FF">
&copy;<a href="top_page.php">動画携帯</a><br>
</body>
</html>
<?php
$out = ob_get_clean();
$out = mb_convert_kana($out,"rak","UTF-8");
$out = mb_convert_encoding($out,"SJIS","UTF-8");
echo $out;
?>
